<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        .pkBox {
            margin: 500px auto;
            width: 200px;
            height: 265px;
            position: relative;
        }
        .pkBox > img {
            width: 100%;
            height: 100%;
            position: absolute;
            transform-origin: right top;
            transition: transform 1.5s;
        }
        .pkBox:hover > img:nth-of-type(1){
            transform: rotate(60deg);
        }
        .pkBox:hover > img:nth-of-type(2){
            transform: rotate(120deg);
        }
        .pkBox:hover > img:nth-of-type(3){
            transform: rotate(180deg);
        }
        .pkBox:hover > img:nth-of-type(4){
            transform: rotate(240deg);
        }
        .pkBox:hover > img:nth-of-type(5){
            transform: rotate(300deg);
        }
        .pkBox:hover > img:nth-of-type(6){
            transform: rotate(60deg);
        }
    </style>
</head>
<body>
    <div class="pkBox">
        <img src="tranform_demo.jpg" alt="">
        <img src="tranform_demo.jpg" alt="">
        <img src="tranform_demo.jpg" alt="">
        <img src="tranform_demo.jpg" alt="">
        <img src="tranform_demo.jpg" alt="">
        <img src="tranform_demo.jpg" alt="">
    </div>
    
</body>
</html>